package com.byd.sealmanage.service;

import com.alibaba.fastjson.JSONObject;
import com.byd.sealmanage.modal.bo.EngraveApplyParamVo;
import com.byd.sealmanage.modal.bo.SearchUserVO;
import com.byd.sealmanage.modal.po.TbDivisionSeal;
import com.byd.sealmanage.modal.po.TbUser;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface DivisionSealService {

    /**
     * 刻制申请上传
     * @return
     */
    JSONObject engraveApplySubmit(Map<String,String> applyParam);

    /**
     * 根据工号或姓名查询人员
     * @param searchUserVO
     * @return
     */
    JSONObject getPeopleInfo(SearchUserVO searchUserVO);

    /**
     * 获取事业部刻制印章列表数据
     * @return
     */
    JSONObject getDivisionEngraveData(EngraveApplyParamVo engraveApplyParamVo, TbUser loginUser);

    /**
     * 印章备案
     * @param map
     * @return
     */
    JSONObject sealFilingService(Map<String,String> map);

    /**
     * 获取实体印章备案信息
     * @param engraveApplyParamVo
     * @return
     */
    JSONObject getEntitySealService(EngraveApplyParamVo engraveApplyParamVo);

    /**
     * 上传私自刻制的印章
     * @param file
     * @return
     */
    JSONObject uploadPersonalSealService(MultipartFile file);

    /**
     * 印章转交
     * @return
     */
    JSONObject sealForwardService(Map<String,String> map,TbUser loginUser);
}
